//分类下面数据
import api from '../lib/api'
export const showreslist=params=>{
    return api.get('/useraddresses/'+params.page,{checkToken:true})
}
export const addreslist=params=>{
    return api.post('/useraddresses',{...params,checkToken:true})
}
export const updaterslist=params=>{
    return api.post('/useraddresses/'+params.id,{...params,checkToken:true})
}
// 删除
export const  deladdress = parmes=>{
    return api.get('/useraddresses/'+parmes.id,{checkToken:true})
}